﻿using System;
using System.Collections.Generic;
using System.Text;

namespace T.FAS.Runtime.Metadata.Entity
{
    /// <summary>
    /// 元数据状态枚举
    /// </summary>
    /// <remarks>元数据状态枚举</remarks>
    public enum MetaDataStatus
    {
        /// <summary>
        /// 新增
        /// </summary>
        New = 0,

        /// <summary>
        /// 签入
        /// </summary>
        CheckIn = 1,

        /// <summary>
        /// 签出
        /// </summary>
        CheckOut = 2,

        /// <summary>
        /// 审批中
        /// </summary>
        Submiting = 3,

        /// <summary>
        /// 审批不通过
        /// </summary>
        Reject = 4,

        /// <summary>
        /// 删除
        /// </summary>
        Delete = 5,

        /// <summary>
        /// 删除中
        /// </summary>
        Deleting = 6,

        /// <summary>
        /// 删除审批中
        /// </summary>
        DeleteSubmiting = 7,

        /// <summary>
        /// 删除审批不通过
        /// </summary>
        DeleteReject = 8,

        /// <summary>
        /// 新增审批中
        /// </summary>
        NewSubmiting = 9,

        /// <summary>
        /// 新增审批不通过
        /// </summary>
        NewReject = 10

        //数据权限分配到模块， 每个模块有CRUD， 签入 签出 ，直接签入，生成补丁
        //V1.0 增加两个OP权限：删除、签入，没有权限需要提交删除，超级管理员撤销任意签出
    }
}
